<!doctype html>
<meta name="timeout" content="long">
<title>Accept-CH Persistence test</title>
<body>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="resources/accept-ch-test.js"></script>

<script>
// Make sure a same origin subresource that gets redirected keeps the initial request's Client Hints.
const test_name = "same-origin subresource redirect with opt-in";
verify_subresource_state("resources/accept-ch-and-redir.py?url=expect-received.py", test_name);
</script>
</body>
</html>

